-
Notifications
You must be signed in to change notification settings - Fork 1k
modularize optimization internals #7401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7401 +/- ##
==========================================
- Coverage 99.02% 99.01% -0.02%
==========================================
Files 87 87
Lines 16803 16887 +84
==========================================
+ Hits 16640 16720 +80
- Misses 163 167 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Generated via commit 54af162 Download link for the artifact containing the test results: ↓ atime-results.zip
|
|
I'm also not sure about moving the tests to |
MichaelChirico
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I think last round of review here. Looking great!
Co-authored-by: Michael Chirico <chiricom@google.com>
for the case of `is.null(names(jl__))` this should result in `logical(0)` differently from current version which returns `c(FALSE, FALSE, ...)` Co-authored-by: Michael Chirico <chiricom@google.com>
Co-authored-by: Michael Chirico <chiricom@google.com>
Co-authored-by: Michael Chirico <chiricom@google.com>
| # Case 2b: list(...) | ||
| else if (this[[1L]] == "list") { | ||
| # also handle c(lapply(.SD, sum), list()) - silly, yes, but can happen | ||
| if (length(this) == 1L) next |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like this case was never actually tested
MichaelChirico
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's ready to go! Bravo! Be sure to revisit all the open review threads and then submit when you're happy :)
|
Great news -- as of now, this PR reduces the cyclomatic complexity of |

Mapinstead oflapplyturns GForce off #5336[.data.tableneeds to be more modular. #852Adds arithmetic for GForce as demanded in #3815 but does not add support for blocks in j like
d[, j={x<-x; .(min(x))}, by=y].